package com.pactera.madp.cp.api.dto.channel;

import com.pactera.madp.cp.api.dto.DrainageEmployeeDTO;
import com.pactera.madp.cp.api.dto.WelcomeMessageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "渠道活码")
public class ReqChannelCodeDTO {

    /**
     * channelCodeId
     */
    @ApiModelProperty(value = "渠道活码id")
    private Integer channelCodeId;
    /**
     * baseInfo
     */
    @ApiModelProperty(value = "基础信息")
    private BaseInfoDTO baseInfo;
    /**
     * drainageEmployee
     */
    @ApiModelProperty(value = "员工信息")
    private DrainageEmployeeDTO drainageEmployee;
    /**
     * welcomeMessage
     */
    @ApiModelProperty(value = "欢迎语信息")
    private WelcomeMessageDTO welcomeMessage;

    /**
     * BaseInfoDTO
     */
    @NoArgsConstructor
    @Data
    public static class BaseInfoDTO {
        /**
         * groupId
         */
        @ApiModelProperty(value = "组id")
        private Integer groupId;
        /**
         * name
         */
        @ApiModelProperty(value = "名称")
        private String name;
        /**
         * autoAddFriend
         */
        @ApiModelProperty(value = "添加朋友")
        private Integer autoAddFriend;
        /**
         * tags
         */
        @ApiModelProperty(value = "标签")
        private List<Integer> tags;
    }

}
